import 'package:lcapp/api/request/api_client.dart';
import 'package:lcapp/api/request/response_data.dart';

class PopoverAPI {

  static Future<ResponseData> getPopoverList(Map<String,dynamic> map) async {
    ResponseData responseData = await ApiClient.post("/api/activity/list",data: map);
    return ResponseData.createFrom(responseData, responseData.data);
  }

  static Future<ResponseData> readPopover(String pid) async {
    ResponseData responseData = await ApiClient.get("/api/activity/read/popup/$pid",);
    return ResponseData.createFrom(responseData, responseData.data);
  }

}